.bili-nav{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;

}

.left-entry{
    display: flex;

}

.left-entry .entry-title{
    display: flex;
    align-items: center;
    height: 64px;
    color: #fff;
    margin-right: 15px;
}


/*中间搜索区域*/
.center-search-container{
    flex: 1;
    height: 40px;
    padding: 0 40px 0 4px;
    border-radius: 8px;
    border: 1px solid #e3e5e7;
    background-color: #f1f2f3;
    display: flex;
    align-items: center;
    position: relative;
}
.center-search-container:hover{
    background-color: #fff;
}

.center-search-container .nav-search-content{
    display: flex;
    height: 20px;
    width: 100%;
    padding: 0 8px;
}

.nav-search-content .nav-search-input{
    flex: 1;
    background-color: transparent;
    overflow: hidden;
    padding-right: 8px;
}

.center-search-container .nav-search-button{
    position: absolute;
    top: 5px;
    right: 8px;
    display: flex;
    align-items: center;
     justify-content: center;
     width: 32px;
     height: 32px;
     line-height: 32px;
     border-radius: 6px;
     transition:      background-color 0.3s;

}
.center-search-container .nav-search-button:hover{
    background-color: #e3e5e7;
}


/*右侧入口*/
.right-entry{
    margin-left: 10px;
    display: flex;
    align-items: center;
}
.right-entry .header-avatar{
    height: 50px;
    width: 50px;
    padding-right: 10px;
    position: relative;

}
.right-entry .header-avatar a{
    position: absolute;
    top: 6px;
    left: 10px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background-color: #00aeec;
    display: flex;
    justify-content: center;
    border: 2px solid #fff;
    color: #fff;
}
.right-entry  .right-entry-item{
    min-width: 50px;
    margin-right: 4px;
}
.right-entry .right-entry-item a{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.right-entry .right-entry-item a span{
    font-size: 13px;
}

.right-entry .upload{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 34px;
    line-height: 34px;
    border-radius: 8px;
    color:#fff;
    background-color: #fb7299;
    margin-left: 10px;

}

.right-entry .upload span{
    margin-left: 5px;
}




/*banner 区域*/
.bili-nav{
    position: absolute;
    top: 0;
    z-index: 1000;
}
.bili-banner{
    position: relative;
    height: 155px;
    width: 100%;
    overflow: hidden;

}

.bili-banner img{
    position: absolute;
    left: 0; 
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.bili-banner .logo{
   width: 100%;
   height: 100%;
   padding: 0 64px;
   display: flex;
   align-items: flex-end;
}

.bili-banner .logo a{
    position: relative;
    width: 162px;
    height: 78px;
}

.bili-banner .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,.4),transparent)
}

.bili-channel{
    height: 110px;
    padding: 0 60px;
    display: flex;
    align-items: center;
}

.bili-channel .channel-icons{
    display: flex;
}

.bili-channel .channel-icons a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 20px;
}

 .bili-channel .icon-bg{
       width: 64px;
       height: 64px;
       display: flex;
       align-items: center;
       justify-content: center;
       border-radius: 50%;
}

.bili-channel .icon-bg__dynamic{
    background-color: #ff9212;
}

.bili-channel .icon-bg__popular{
    background-color: #f07775;
}

.bili-channel .icon-bg__channel{
    background-color: #59ca73;
}

.bili-channel .icon-bg svg{
    width: 25px;
    height: 25px;
}

.bili-channel span{
    text-align: center;
}

.bili-channel .right-channel-container{
    width: 100%;
    display: flex;
}

.bili-channel .channel-items_left{
    display: grid;
    grid-template-columns: repeat(11,1fr);
    gap: 10px;
    width: 100%;

}

.bili-channel  .channel-items_left a{
    height: 26px;
    line-height: 26px;
    background-color: #f6f7f8;
    border: 1px solid #f1f2f3;
    border-radius: 6px;
    text-align: center;
    color: #61666d;
}

.bili-channel .channel-items_right{
    width: 240px;
    display: grid;
    grid-template-rows: repeat(2,1fr);
    grid-auto-flow: column;
    row-gap: 10px;
    flex-shrink: 0;
    margin-left: 30px;
    border-left: 1px solid #e2e5e7;
}
.channel-items_right a{
    width: 100%;
    height: 28px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-items_right svg{
    width: 20px;
    height: 20px;
    margin-right: 4px;
    fill: #61666d;
}

.channel-items_right span{
    fill: #61666d;
}



/*推荐列表*/
.main{
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;

}

.main .recommended-container{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    width: 100%;
}
.main .recommended-card .card-image{
    position: relative;
    border-radius: 6px;
    overflow: hidden;
                                                                                                                                                      
}
.main .card-image img{
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.card-image .image-mask{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px 8px 6px;
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    background-image: linear-gradient(100deg,rgba(0,0,0,0.8),100%);
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
}
.card-image .image-mask .stats-left{
    flex: 1;
    display: flex;
    align-items: center;
}
.image-mask .stats-left .stats-item{
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.image-mask svg{
    width: 18px;
    height: 18px;
    color: #fff;
    margin-right: 2px;
}

/*底部信息*/
.card-info h3{
    line-height: 22px;
    padding-right: 16px;
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-break: anywhere; 
    -webkit-line-clamp: 2;
}
.info-bottom{
    margin-top: 4px;
    display: flex;
    font-size: 13px;
}
.info-bottom a{
    color: #9499a0;
    display: flex;
    align-items: center  ;
}

.info-bottom svg{
    width: 17px;
    height: 17px;
    margin-right: 2px;
}
.info-bottom .info-date{
    margin-left: 4px;
}


/*轮播图*/
.recommended-container .carousel-area{
    grid-row: 1/3;
    grid-column: 1/3;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.recommended-container .carousel-area img{
    width: 100%;
  
}

.carousel-area .mask{
    width: 100%;
    height: 392px;
    position: absolute;
    top: 0;
    background: linear-gradient(0,#524C46 20%,transparent 50%);
    border-radius: 6px;
}

.carousel-area .tools {
    width: 100%;
    position: absolute;
    bottom: 104px;
    left: 0px;
    padding: 0 15px;
    box-sizing: border-box;
}

.carousel-area .tools a{
    display: flex;
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
}

.carousel-area .tools ul{
    display: flex;
}

.carousel-area .tools li{
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background-color: #fff6;
    cursor: pointer;
}
.carousel-area .tools li.active{
    width: 14px;
    height: 14px;
    margin: 1px;
    background-color: #fff;
}

.carousel-area .tools .buttons{
    position: absolute;
    bottom: 23px;
    right: 15px;
}

.tools button{
    width: 28px;
    height: 28px;
    border-radius: 8px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff6;
}

.tools svg{
    width: 12px;
    height: 12px;
    color: #fff;
}

.tools .button:last-child{
    margin-right: 0;
}

.sidebar{
    position: fixed;
    bottom: 40px;
    right: 12px;

}

.sidebar span{
    width: 40px;
    margin-top: 6px;
    padding: 8px 0 6px;
    box-sizing: border-box;
    border: 1px solid #e3e5e7;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}

.sidebar .primary-btn svg{
    width: 24px;
    height: 24px;
}

.primary-btn .primary-btn-text{
    margin-top: 2px;
}
.primary-btn .goback{
    padding: 4px;
}
.primary-btn .top-btn{
    margin-top: 12px;
}
.primary-btn .top-btn svg{
    width: 15px;
    height: 8px;
}